package com.gzs.learn.payment.ms;

import com.gzs.learn.payment.inf.dto.web.PaymentList;
import com.gzs.learn.payment.model.po.Payment;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhisong.guan
 * @date 2022/10/6 12:55
 */
@Mapper
public interface PaymentMS {
    PaymentMS INST = Mappers.getMapper(PaymentMS.class);

    PaymentList fromPayment(Payment payment);
}
